<%@ Page Language="vb" AutoEventWireup="false" MasterPageFile="~/TGB.Master" CodeBehind="FrmOrdendeServicio.aspx.vb" Inherits="TGB.FrmOrdendeServicio" 
    title="OrdenDeServicios" %>

<%@ Register Assembly="BasicFrame.WebControls.BasicDatePicker" Namespace="BasicFrame.WebControls"
    TagPrefix="BDP" %>
 
<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<script language="javascript" type="text/javascript">
// <!CDATA[

function TABLE1_onclick() {

}

// ]]>
</script>

<!-- <script language="JavaScript" type="text/javascript">
    function popup(url)
        {
            var popup = window.open(url,"popup" ,"Width=700,Height=400,Scrollbars=NO,Resizable=NO,Location=NO,Menubar=NO,Status=NO,Titlebar=NO,Toolbar=NO");
        }
</script>
<script language="JavaScript" type="text/javascript">
    function popup2(url)
        {
            var popup2 = window.open(url,"popup2" ,"Width=700,Height=400,Scrollbars=NO,Resizable=NO,Location=NO,Menubar=NO,Status=NO,Titlebar=NO,Toolbar=NO");
        }
</script>
<script language="JavaScript" type="text/javascript">
    function popup3(url)
        {
            var popup3= window.open(url,"popup3" ,"Width=700,Height=400,Scrollbars=NO,Resizable=NO,Location=NO,Menubar=NO,Status=NO,Titlebar=NO,Toolbar=NO");
        }
</script>
-->

<div id="DIV1" style="width: 100%; height: 22px; text-align: left; background-color: #ccccff;" >
    &nbsp;<asp:Label ID="LblOrdenServicio" runat="server" Height="24px" Style="font-weight: bold;
        font-size: 14px; vertical-align: middle; font-family: Calibri; background-color: #ff3333;
        text-align: center" Text="Orden de Servicio" Width="100%"></asp:Label></div>
    
    <div style="width: 100%; height: 133px; text-align: center; background-color: #efefef; vertical-align: middle;" id="DIV2">
        <table class="tabla" style="width: 590px; height: 72px; text-align: center;" id="TABLE1" onclick="return TABLE1_onclick()" >
            <tr>
                <td align="center" colspan="5" style="height: 16px">
                    <asp:LinkButton ID="LnkListadoOrdenServicio" runat="server" ValidationGroup="nada">Listado Ordenes de Servicio</asp:LinkButton></td>
            </tr>
        <tr>
            <td align="right" style="height: 36px; width: 60px;">
        <asp:HiddenField ID="HFSolicitudServicio" runat="server" />
                </td>
            <td style="height: 36px; background-color: #ccccff; width: 388px;" align="left" >
                &nbsp;
                <asp:HiddenField ID="HFOrdenServicio" runat="server" />
                </td>
            <td align="right" style="height: 36px; background-color: #ccccff; width: 160px;">
                <asp:Label ID="LblFechaGeneracion" runat="server" Text="Fecha Generacion"></asp:Label>
            </td>
            <td align="left" style="height: 36px; background-color: #ccccff;" colspan="2">
                &nbsp;<BDP:BasicDatePicker ID="BdpFechaGeneracion" runat="server" DateFormat="dd-MM-yyyy"
                    DisplayType="TextBox">
                </BDP:BasicDatePicker>
                <asp:RequiredFieldValidator ID="RQFechaGeneracion" runat="server" ErrorMessage="*" ControlToValidate="BdpFechaGeneracion" ValidationGroup="Guardar"></asp:RequiredFieldValidator></td>
        </tr>
        <tr>
            <td align="right" style="height: 32px; width: 60px;">
                <asp:Label ID="LblCliente" runat="server" Text="Cliente"></asp:Label>&nbsp;</td>
            <td align="left" style="background-color: #ccccff; height: 32px; width: 388px;">
                <asp:TextBox ID="TxtCliente" runat="server" Enabled="False" EnableTheming="True"
                    Height="15px" Width="235px" ReadOnly="True"></asp:TextBox></td>
            <td align="right" style="height: 32px; background-color: #ccccff; width: 160px;">
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp;&nbsp;<asp:Label ID="lblNumeroSolicitud" runat="server"
                    Text="Numero Solicitud"></asp:Label>
                &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
            </td>
            <td align="left" style="background-color: #ccccff; height: 32px;" colspan="2">
                &nbsp;
                <asp:TextBox ID="TxtNumeroSolicitud" runat="server"></asp:TextBox></td>
        </tr>
        <tr>
            <td align="right" rowspan="1" style="height: 5px; width: 60px;">
                <asp:Label ID="lblEstado" runat="server" Text="Estado"></asp:Label>&nbsp;</td>
            <td align="left" colspan="3" rowspan="1" style="background-color: #ccccff; height: 5px;">
                <asp:TextBox ID="txtEstado" runat="server" ReadOnly="True" Width="235px">Emitida</asp:TextBox></td>
            <td align="left" colspan="1" rowspan="1" style="height: 5px; background-color: #ccccff">
            </td>
        </tr>
        <tr>
            <td align="right" rowspan="1" style="height: 51px; width: 60px;">
                <asp:Label ID="LblSolicitudServicios" runat="server" Text="Solicitud de Servicios:"></asp:Label>&nbsp;
        </td>
            <td align="left" colspan="1" rowspan="1" style="width: 388px; height: 51px; background-color: #ccccff">
                <asp:TextBox ID="TxtDescripcionSolicitud" runat="server" Height="54px" TextMode="MultiLine"
                    Width="357px"></asp:TextBox>
            </td>
            <td align="left" colspan="3" rowspan="1" style="background-color: #ccccff; height: 51px;">
                &nbsp;
                <asp:LinkButton ID="lnkSolicitud" runat="server" Width="129px">Seleccionar Solicitudes</asp:LinkButton></td>
           
        </tr>
        <tr>
            <td align="right" style="height: 45px; width: 60px;">
                <asp:Label ID="LblObservacion" runat="server" Text="Observacion Orden"></asp:Label>&nbsp;</td>
            <td align="left" colspan="1" style="height: 45px; background-color: #ccccff; width: 388px;">
                <asp:TextBox ID="TxtObservacion" runat="server" CssClass="campotxt" Width="358px" Height="56px" TextMode="MultiLine"></asp:TextBox></td>
            <td align="left" colspan="3" style="background-color: #ccccff; height: 45px;">
                &nbsp;&nbsp;&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; &nbsp;
                &nbsp; &nbsp; &nbsp;
            </td>
        </tr>
        <tr>
            <td align="right" style="height: 30px;" colspan="5">
                <asp:Label ID="Label7" runat="server" Text="Afectacion de Operador y Unidad" Width="100%" style="font-weight: bold; font-size: 14px; vertical-align: middle; font-family: Calibri; background-color: #ff3333; text-align: center" Height="24px"></asp:Label></td>
        </tr>
        <tr>
            <td align="right" style="height: 21px; width: 60px;">
            </td>
            <td align="left" colspan="3" style="background-color: #ccccff; height: 21px;">
                <table style="width: 645px">
                    <tr>
                        <td style="width: 83px; height: 13px;">
                <asp:Label ID="LblFechaAfectacion" runat="server" Text="FechaAfectacion"></asp:Label></td>
                        <td style="width: 103px; height: 13px;">
                            <BDP:BasicDatePicker ID="BdpFechaAfectacion" runat="server" DateFormat="dd-MM-yyyy"
                                DisplayType="TextBox" Width="175px">
                            </BDP:BasicDatePicker>
                            <asp:RequiredFieldValidator ID="RQFechaAfectacion" runat="server" ControlToValidate="BdpFechaAfectacion"
                                ErrorMessage="*" ValidationGroup="Guardar"></asp:RequiredFieldValidator></td>
                        <td style="width: 62px; height: 13px;">
                            <asp:Label ID="Label2" runat="server" BackColor="Green" Font-Bold="True" ForeColor="WhiteSmoke"
                                Text="Desafectar operador y unidad" Width="175px"></asp:Label></td>
                    </tr>
                    <tr>
                        <td style="width: 83px; height: 26px;">
                <asp:Label ID="Label1" runat="server" Text="Unidad"></asp:Label></td>
                        <td style="width: 103px; height: 26px;">
                <asp:DropDownList ID="CboUnidad" runat="server" Width="172px" Height="11px" AppendDataBoundItems="True">
                    <asp:ListItem></asp:ListItem>
                </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="RQUnidad" runat="server" ControlToValidate="CboUnidad"
                                ErrorMessage="*" ValidationGroup="Guardar"></asp:RequiredFieldValidator></td>
                        <td style="width: 62px; height: 26px">
                            &nbsp;<asp:LinkButton ID="lnkDesafectaciones" runat="server" ValidationGroup="nada">Desafectaciones</asp:LinkButton></td>
                    </tr>
                    <tr>
                        <td style="width: 83px; height: 18px">
                <asp:Label ID="LblPersonal" runat="server" Text="Operador"></asp:Label></td>
                        <td style="width: 103px; height: 18px">
                <asp:DropDownList ID="CboPersonal" runat="server" Width="172px" Height="11px" AppendDataBoundItems="True">
                    <asp:ListItem></asp:ListItem>
                </asp:DropDownList>
                            <asp:RequiredFieldValidator ID="RQOperador" runat="server" ControlToValidate="CboPersonal"
                                ErrorMessage="*" ValidationGroup="Guardar"></asp:RequiredFieldValidator></td>
                        <td style="width: 62px; height: 18px">
                            &nbsp;
                        </td>
                    </tr>
                    <tr>
                        <td style="width: 83px">
                        </td>
                        <td style="width: 103px">
                        </td>
                        <td style="width: 62px">
                        </td>
                    </tr>
                </table>
            </td>
            
        </tr>
        <tr>
            <td align="right" colspan="5" style="height: 22px">
<asp:LinkButton ID="LnkGuardar" runat="server" CssClass="BotonLink" TabIndex="10" ValidationGroup="Guardar">Guardar</asp:LinkButton>&nbsp;
            <asp:LinkButton ID="LnkCancelar" runat="server" CssClass="BotonLink" TabIndex="14" ValidationGroup="lala">Cancelar</asp:LinkButton>
                &nbsp;</td>
    
           
        
    </table>
  
</asp:Content>
